package com.spring.hx.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.spring.hx.service.fallback.NacosProviderFallback;

@FeignClient(value = "nacos-provider", fallback = NacosProviderFallback.class)
public interface NacosProviderService {
	
	@GetMapping(value = "/echo/{message}")
	public String echo(@PathVariable(value = "message") String message);
	
}
